<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			input:focus{
				background: pink;
			}
			div:focus{
				background: pink;
			}
			
		</style>
	</head>
	<body>
		<input type="text"  value="" />
		<div style="width: 200px;height: 200px;background: deeppink;" contenteditable="true" ></div>
	</body>
</html>
